Updated GPS code and added support in PC software