form builder, updated sql too