Added method for changing the path within the database.