update badge system