revise the schma