Finished the code for the public update API