add password digest and model updates