edit plugin controller