Update put /v1/repositories/<username>/<repository> controller function