updating target dir