Insert and Update methods from Julian