updating table media width