added update api to readme