change getData and setData to getConfig and setConfig