Tidy up EM code and remove update command
Removes update reference