update Account API