add put method implement.