commit lines onto map