Update syntax.php

now invalidates all sessions after a user has been modified