update admin codes