third table update bug fixes