updates prompt view