Update and rename works to commands