fix bugs with update forms