update loginf form