Updating with stored proceedure and db layout