Added more functonality to Edit page for admin