updating paths and stuff