update admin editcode