update memory size input