Mass assign attributes