updated stylesheets and sql statements