Refactored postUpdate