fixed bug where modules wouldn't get flushed from cache on update; added range operator