Add another method for set adapter in model