update pry doc in gem file; display flash messages