update dir and remove files