update input type in signin