update processes adds multiple lines to db