Ensure that the uri exists in the DB before updating