remove upsert code from update callback