problems with update dir