Updated updateWithMedia function to comply with Twitter's lack of support for media arrays