Started the updateBy function