update molecule parse method