Add version check for gear upgrade extension