Added SQL structure updates