edit modules definition