fix update callback