more logging and updated gem