Add ctypes pass to update environment