updating md for table