firebug error handling
issue #28
update cache