Update function declaration