Investigating the relativistic motion of the stars near the supermassive black hole in the galactic center