Your media libraries update automatically when you:
- use the Media application for the first time.
- finish a media file transfer to your phone using the USB cable.
- insert a memory card into your phone.
- select an invalid file.
You can also update media libraries manually by tapping the update icon in the touchbar.