update element and atom to accomodate P, F