Added SQL update