update sync bug in add and modify