Update update_questions algorithm and it does not save empty questions