working update filtered input