preserve model state through publish