added edit command which is alias to modify
fixed bug in the function toNumber