changed form from table