update date picker in object input