change the model to support four media data: photo, video ,app and
friends.