Leftover Debug code and adjusted routine for updates
Leftover Debug code and adjusted routine for updates