Added minimum and maximum ms and changed update time to 2