fix collection update bug