add method for sync form