New update method, removed the whitspace