improve sync state