changes paths. Update db.