Modification of optical absorption of molecule near metallic nanoparticles