addMaintainer() adds wrong internal element

when adding a maintainer through the addMeintainer() API call, the new array with the maintainer information replace the entire role group to which the maintainer belongs instead of adding it to the existing ones