updated lib
added delay between master write and slave read to replication write mode