updates api tests