update code to handle lowercase id vs Id upon object create