updated ui for details