detail and update