debugging the test and implementation for the after update method