update method to post and add fields to form