update xpa to 2.1.14 and make astropy compatible