Set entityState to commited after post