Update api.class.php (version changed in header)