added database update on music and pictures seen