form works, but have to change name to id in table