prompt update and other stuff