adding concurrency update checking on mongo states