updating layout of html pages