fix a bug with stopUpdates. Mapped out update functionality.