added entry point to save metadata when user data changes