update functionality and README