Added configuration switch for metadata update, fixes #38