change type to string in media db