moved status changes to end, forgot to update queries