the metasploit framework offers a simple utility called msfupdate that connects to the online repository and fetches the updates we can also use apt update, apt install metasploit-framework to update