implemented Edit in admin controller