fix to correctly update www folder content and references