Do update in draw callback if it runs at appropriate speed