fixed param type for updating invoice