update db and update process list