add pipeline, export to db