FIX: fixed mongo update bug