revise database, only keep geometric info in element