Update function types