update view action for admin