Update some functions.