change solution of updating when use instance update