add ajax, tranaction setting