regenerate form after save