[node] added invalid id control
[node] changed styling
[node] trying to unify styling
[node] changed error handling lines
[node] added helper method for nil values checking
[node] added create node test method
[node] added update node test method