some updates and pdf generated