trying to make the two put methods more consistent for the routes in repo.clj