fix errors and add edit group servlet