updated admin detail and edit views