Fixes and updates to movements, reference and toc codes