started the edit poll function