added forms and update functions