submit update query