update paths to make them dynamics