Fixed #21461, Add pre_update and post_update signals

Assuming this would be targeted for 1.8, since it missed the feature freeze.