updating directory paths