make sure to put key into cache after we read it