add ended date for poll