progress update mostly sql stuff