updated dialogue box