update code to create soql and sosl from obj definition