Implemented null check on UPDATE.