Seismic response of buildings designed for gravity loading and upgraded with lateral load resistant structural features-analytical study