updated admin contoller