fix ajax create so tables get updated