added datatemplate for update*caches
clean up
Merge pull request #5 from flite/datatemp

added datatemplate for update*caches