adding edit feature on admin