Update input form