Sync input value with query param