Updating code for medium size player