update controller for admin view