Fix bugs when create and update failed,users just can input the rest information.