Changes for handling memcache updates before and after DB commits related to imports, ran unit tests for import and works ok