begin implementing update api