added update method to recipes controller