<｜begin▁of▁sentence｜>### Instruction:
Given two matrices represented as 2x2 NumPy arrays, how can you perform an in-place addition of the second matrix to the first matrix, and then print the updated first matrix?
### Response:
import numpy as np

# Define two matrices using NumPy
A = np.matrix([[1, 2], [3, 4]])
B = np.matrix([[5, 6], [7, 8]])

# Perform in-place addition of matrix B to matrix A
A += B

# Print the modified matrix A
print(A)
<|EOT|>
