updated admin controller