fixed a bug where saving an new item would not update the layout header fields