set_user_data now accepts an array of user data