Updating mesh example to work with button upgrade