sync public directory