fix cache not be updated after save issue