added editing to the admin