add key option to .put