making form POST compatible
supported edit now uses ajax to submit forms