Updating date picker (buggy)