Update methods.R