fixes form changes to be compatible with create as well as update actions