index: add option for sync_back (default true) when syncing message