Add preventUpdate property to only use cached data

Added preventUpdate property
Modified constructor to allow for preventUpdate property
Updated the detection for updating the cache
Fixes #4