updated the new and update actions in PicturesController and updated new view with form_for helper