Added logic to update button recipe