fixed toast update bug