change keep ahead and adjust times