updated deprecated parts