updated gem file and controllers