updates now including dir