Fix migration + security updates