finished API update