updated working directory for bd