save reactions to db