update to get from query string