add index to hstore and tags to messages