form & sql udpates