Removed Thread.sleep(5000) used for testing when updating