Promote/demote command now works.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>