sync page refactor