change public directory