updated gems, removed unneded code