update document basic jquery