database update includes cache, response and template tables