bugfix: update instead of set query to status