updates text
puts sql back in
updates content