Change data structure of key points