did a function
updating