Changed triggers to only call addOne when adding a new message