update query for retrieving assets