update sql methods so parameters accepted for ms_id, m_id, l_ld, ls_id are all string

fix icon display issue