update recipe functionality