Outsourced update querys