Added update operation and msg.collection selection