update_one and tests