update pub field