updated elastica integration