updates and key creation,conversion