Set deafult image and edit student profile if empty