Upadting time for faster animation