Added funcionality to create and update repositories in admin panel