everything working except edit