extend model with elasticsearch