update the add page