updates in media plugin