Refactor updating attribute

Signed-off-by: Stuart Olivera <stuart@stuartolivera.com>
Replaced ! with >

Signed-off-by: Stuart Olivera <stuart@stuartolivera.com>
Create demo database content

Signed-off-by: Stuart Olivera <stuart@stuartolivera.com>
Refactored parent selecting

Signed-off-by: Stuart Olivera <stuart@stuartolivera.com>