fix readme with updated api