migrate linSDE and addSDE to genericSDE