update admin functionality