add put ajax method