Update the custome functions.