Update function prototype