Add basic paint syncing code