update selecting method