change extension and content