Command ot properly ended : can i know what the problem with this statement as i getting the error command not properly ended

update subjectinfo set subject_name = '" + textBoxSubjectNameUpdate.Text + "' , subject_abbreviation = '" + textBoxSubjectAbbreviationUpdate.Text + "where subject_code = '" + textBoxSubjectCodeUpdate.Text + "'"