corrected a bug in updatecode (planets)