upload image after checking the existence of the speciality