update to require astropy >= 0.4