entity cache upgrade