update to dir