updated generate page