real time sync
notify PATCH to clients
refactoring