bug fix
implement admin edit