upgrade functions/methods