database sql
minor updates