fixed some timeupdate bugs