update && add exit command