update the details