after selecting database from database list 