update transition styles