Update materials database

Does anyone have a macro to update the SolidWorks Materials Database.  I want to update it from our company Database automatically so that we don't have to maintain two separate databases.

SolidworksApi macros