better handling of application cache updates