changed edit view and admin controller to fetch uploaded images