updating of API