Cleaned up attibutes in put method