fixed filter in update_cb