updated deprecated attribute