fixed issue in insert method. It was only inserting first passed feature