adding more ajax behavior