More sql updates for activity schema changes in 4.4