updating sqlite challenge from week 7