fixed fail at update