change duration styles