fix form bugs where transaction could not be updated