update path to public directory