update authentication form