working on admin edit functionality