add compression for sync states