Update create action to assign attributes one at a time