The housing will replace run down flats which have been demolished.