[Kavitha|Pooja]Used form_for to update model object