change implementation for create new message and group