Authentication error when trying to update