more work with forms, added applyedits