update migration for optional password