added ajax for list selection