update a detail