PostUpdate is called during the commit, the persistence unit has already determined what changed and what it needs to write, so it is too late to change things (it would then need to recompute what it needs to write again).
Depending on what JPA provider you are using, there are some ways to force something to be written from an event, but you need to be careful.