updated p:after leaf