Added ajax file call to change status of a table