Update deprecated function names