updating methods in gem lib