add auto synchronization of vm state db