Update wpml-api.php