changed db and added sudo