commit changes to recover from cache