changes to debug update functionality