Update the id() function