providing upgrade functions following OG upgrade