fix missed rename of 'metadata' to user_data