Updating the directory location variables