Evolution of neutron capture elements in dwarf galaxies