renamed update method as it was already being used