UPDATE TEMLATOR + SAVE DATA FROM INPUT