updating onecard