refine the realcase update and create