updated recipe controller