BUGFIX update internal cache on the local cache if they change