Edited Eloquent in models