added update api command