Update input and titles