update dir public