update query work for #1