it works now updating the list and creating a new page