edit version appkey logic