Updating html structure