changed how joints data is saved