update api logs