updated webpage code