add put mapping function