Update utilities.R