update graphs, buttons, added sqlform.grid