updated website generation method