Update function by its unique ID.