update transition css