update database selection