update accounts table