Update query to update values instead of erroring