Changing Update method, removing debug statement